home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Magazine / Morphos / GCC / lib / gcc-lib / ppc-amigaos / 2.95.1 / sys-include / powerup / ppclib / semaphore.h < prev    next >
C/C++ Source or Header  |  2000-03-13  |  585b  |  24 lines

  1. #ifndef POWERUP_PPCLIB_SEMAPHORE_H
  2. #define POWERUP_PPCLIB_SEMAPHORE_H
  3.  
  4. #include <utility/tagitem.h>
  5.  
  6. #define    PPCSEMAPHORETAG_BASE    (TAG_USER + 0x25000)
  7.  
  8. /* Sets the Name for the Semaphore and automaticly adds the Semaphore to
  9.    the public List
  10.  */
  11. #define    PPCSEMAPHORETAG_NAME    (PPCSEMAPHORETAG_BASE+0)
  12.  
  13.  
  14. #define    PPCSEMAPHORETAG_ERROR    (PPCSEMAPHORETAG_BASE+1)
  15.  
  16. #define    PPCSEMAPHOREERROR_OK        0
  17. #define    PPCSEMAPHOREERROR_MEMORY    1
  18. #define    PPCSEMAPHOREERROR_ALREDYEXISTS    2
  19. #define    PPCSEMAPHOREERROR_NOTFOUND    3
  20. #define    PPCSEMAPHOREERROR_OBTAINED    4
  21. #define    PPCSEMAPHOREERROR_NONAME    5
  22.  
  23. #endif
  24.